@extends('layouts.ajax_master')
@section('app_js')
    <script type="text/javascript" src="/resource/js/J_main.js"></script>
    <script type="text/javascript">
        $('#teamTable').dataTable().fnDestroy();
        initDataTables();
    </script>
@stop
@section('content')
    <table id="example" class="table table-striped responsive-utilities jambo_table">
        <thead>
        <tr class="headings">
            <th>
                <input type="checkbox" class="tableflat">
            </th>
            <th>银行名称</th>
            <th>银行号</th>
            <th>添加时间</th>
            <th>状态</th>
            <th>持卡人</th>
            <th class=" no-link last"><span class="nobr">操作</span>
            </th>
        </tr>
        </thead>

        <tbody>
        @foreach($info as $k=>$v)
            <tr class="even pointer">
                <td class="a-center ">
                    <input type="checkbox" class="tableflat">
                </td>
                <td class=" ">{{$v->bank_name}}</td>
                <td class=" ">{{$v->bank_num}}</td>
                <td class="">{{date('Y-m-d',$v->created)}}</td>
                <td class=" ">@if($v->status)审核通过@else审核中@endif</td>
                <td class=" ">{{$v->user_id}}</td>
                <td class=" last">
                    <a href="javascript:;"  class="delete"  data-bank_id="{{ $v->bank_id }}">删除</a>
                </td>
            </tr>
        @endforeach
        </tbody>

    </table>